package com.example.excel.ui.adapter;

import com.example.excel.BR;
import com.example.excel.R;
import com.example.excel.base.BaseRecyclerViewAdapter;
import com.example.excel.base.CommonViewHolder;
import com.example.excel.bean.InventoryBean;

public class FormAdapter2 extends BaseRecyclerViewAdapter<InventoryBean> {

    public FormAdapter2() {

    }

    @Override
    protected int layoutId(int viewType) {
//        if (viewType == 0) {
//            return R.layout.item_form_title2;
//        }
        return R.layout.item_form2;
    }

    @Override
    public int getItemViewType(int position) {
        return position;
    }

    @Override
    protected int variableId() {
        return BR.itemBean;
    }

    @Override
    public int getItemCount() {
        return super.getItemCount() ;
    }

    @Override
    public void onBindViewHolder(CommonViewHolder<InventoryBean> holder, final int position) {
        if (position > 0) {
        }
        super.onBindViewHolder(holder, position);
    }
}
